package com.atguigu.yygh.hosp.service;

import com.atguigu.yygh.model.hosp.Department;
import com.atguigu.yygh.vo.hosp.DepartmentQueryVo;
import com.atguigu.yygh.vo.hosp.DepartmentVo;
import org.springframework.data.domain.Page;


import java.util.List;
import java.util.Map;

/**
 * @ClassName DepartmentService
 * @Description: 类描述
 * @Author: admin
 * @CreateDate: 2024/6/4 17:29
 * @UpdateUser: 更新人
 * @UpdateDate: 2024/6/4 17:29
 * @UpdateRemark: 更新的信息
 * @Version: 1.0
 */

public interface DepartmentService {
    void save(Map<String, Object> paramsMap);

    Page<Department> findPageDepartment(DepartmentQueryVo departmentQueryVo, Integer page, Integer limit);

    void remove(String hoscode, String deptcode);

    List<DepartmentVo> getDeptTree(String hoscode);

    String getDepName(String hoscode, String depcode);

    Department getDepartment(String hoscode, String depcode);
}
